wsserve:wsserve.cpp
	g++ -std=c++11 -o $@ $^ -lpthread -lboost_system
mysql:mysql.c
	gcc -o $@ $^ -L/usr/lib64/mysql -lmysqlclient
json:json.cpp
	g++ -std=c++11 -o $@ $^ -lpthread -lboost_system -ljsoncpp

bind_test:bind_test.cpp
	g++ -o $@ $^
.PHONY:clean
clean:
	rm -f mysql
